<div class="yaygWrap">
    <a href="{url app=store&id=$store.store_id}">
        <!--{if $store.store_banner}-->
        <img src="{$store.store_banner}" style="width: 100%;" />
        <!--{else}-->
        <img src="{res file=images/banner.jpg}" style="width: 100%;" />
        <!--{/if}-->
    </a>
    <div class="shopMenu">
        <div class="w">
            <div class="shopMenuR">
                <ul>
                    <li><a class="{if $smarty.get.app eq 'store' and $smarty.get.act eq 'index'}active{else}normal{/if}" href="{url app=store&id=$store.store_id}"><span>{$lang.store_index}</span></a></li>
                    <li><a class="{if $smarty.get.app eq 'store' and $smarty.get.act eq 'search'}active{else}normal{/if}" href="{url app=store&id=$store.store_id&act=search}">{$lang.all_goods}</a></li>
                    {if $store.functions.groupbuy and $store.enable_groupbuy}
                    <li><a class="{if $smarty.get.app eq 'groupbuy' or $smarty.get.act eq 'groupbuy'}active{else}normal{/if}" href="{url app=store&act=groupbuy&id=$store.store_id}"><span>{$lang.nav_groupbuy}</span></a></li>
                    {/if}
                    <!--{foreach from=$store.store_navs item=store_nav}-->
                    <li><a class="{if $smarty.get.app eq 'store' and $smarty.get.act eq 'article' and $smarty.get.id eq $store_nav.article_id}active{else}normal{/if}" href="{url app=store&act=article&id=$store_nav.article_id}"><span>{$store_nav.title|escape}</span></a></li>
                    <!--{/foreach}-->
                    <li><a class="{if $smarty.get.app eq 'store' and $smarty.get.act eq 'credit'}active{else}normal{/if}" href="{url app=store&act=credit&id=$store.store_id}"><span>{$lang.credit_evaluation}</span></a></li>
                </ul>
            </div>
            <div class="shopMenuR" style="display:none;">
                <a class="collection" href="javascript:collect_store({$store.store_id})">{$lang.collect_the_store}</a>
            </div>
        </div>
    </div>
</div>
